#include "GLContext.h"

GLContext::GLContext(){

    bool vrai = false;
    if(GLEW_VERSION_2_0)
    {
        vrai=true;
    }

    BufferObject::Initialize();
}

void GLContext::LoadProgram(const char * name, const char * pathFragment, const char * pathVertex)
{
    program = new GLSLProgram(name, new Shader(GL_FRAGMENT_SHADER, pathFragment),
                                         new Shader(GL_VERTEX_SHADER, pathVertex));

}
